<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of GenerarVolantePago
 *
 * @author MFerreira
 * @export Modules
 * @export-metadata category:Consultas:Volante de Pago
 * @export-metadata RequiredRoles:ROLE_STUDENT
 */
class GenerarVolantePago extends Module {

    public function deshabilitado() {
        $this->display();
    }

    public function index() {
        if (true) {
            $reporte = $this->model->students->GenerarVolantePago($this->currentUser->getName());
            $servicesURI = ModulesContext::instance()->getConfig()->acawebServicesURI;
            $this->assign("reporte", $servicesURI . trim($reporte, '" '));
        }
        $this->display();
    }

}

?>
